| Total Complexity | 85 |
| Dependencies | 4 |
| Dependents | 6 |
| Total lines | 438 |
| Lines of code | 231 |
| Logical lines of code | 129 |
| Comment lines | 145 |
| Methods | 15 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| maybe_gate_access_for_user_if_tier() | 36 | 27 | 70 | |
| user_has_access() | 53 | 14 | 20 | |
| abbreviate_subscriptions() | 54 | 8 | 19 | |
| visitor_can_view_content() | 47 | 6 | 39 | |
| validate_subscriptions() | 56 | 7 | 18 | |
| set_token_cookie() | 65 | 5 | 8 | |
| decode_token() | 62 | 4 | 11 | |
| token_from_request() | 65 | 3 | 9 | |
| get_and_set_token_from_request() | 69 | 2 | 7 | |
| maybe_gate_access_for_user_if_post_tier() | 65 | 2 | 9 | |
| access_url() | 65 | 2 | 9 | |
| token_from_cookie() | 73 | 2 | 5 | |
| initialize() | 82 | 1 | 3 | |
| get_key() | 100 | 1 | 0 | |
| get_rest_api_token_url() | 74 | 1 | 4 |